package com.A1908.service.impl;

import com.A1908.dao.RelationDao;
import com.A1908.dao.impl.RelationDaoImpl;
import com.A1908.entity.Relation;
import com.A1908.entity.RelationType;
import com.A1908.service.RelationService;

import java.util.List;

public class RelationServiceImpl implements RelationService {
    RelationDao relationDao = new RelationDaoImpl();

    @Override
    public List<RelationType> findAllRelationInfo() {
        return relationDao.getAllRelationInfo();
    }

    @Override
    public int addRelationInfo(Relation relation) {
        return 0;
    }
}
